package com.ljt.realtimebusSS.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * 公交车实时位置信息
 * @TableName bus_vehicle
 */
@TableName(value ="bus_vehicle")
@Data
public class BusVehicle implements Serializable {
    /**
     * 
     */
    @TableId
    private Integer vehicleId;

    /**
     * 逻辑关联bus_route.route_id
     */
    private Integer routeId;

    /**
     * 当前纬度
     */
    private BigDecimal currentLatitude;

    /**
     * 当前经度
     */
    private BigDecimal currentLongitude;

    /**
     * 最后位置更新时间
     */
    private Date lastUpdateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}